"use strict"
/**
 * @class elFinder command "desc". 
 * For test
 *
 * @author Dmitry (dio) Levashov, dio@std42.ru
 **/
elFinder.prototype.commands.desc = function() {
    console.info('entraaaaaaaaaaaaaaaaaaaaaaaaaaaaa');
   /* var self  = this,
    fm    = this.fm,
    desc = '<div id="elfinder-fm-file-desc">' + msg.calc + '</div>';
        
    if (editDesc)  {
      
        desc  = '<textarea cols="20" rows="5" id="elfinder-fm-file-desc" class="ui-widget ui-widget-content" disabled="true" > Esto es customizado!!!!' + msg.calc + '</textarea><input type="button" id="elfinder-fm-file-desc-btn-save" value="' + fm.i18n('btnSave') + '" />';
    }

   // content.push(row.replace(l, Drupal.t('Description')).replace(v , desc));
        
    fm.request({
        data : {
            cmd : 'desc', 
            target : file.hash
        },
        preventDefault : true
    })
    .done(function(data) {
        var fieldDesc = dialog.find('#elfinder-fm-file-desc');
          
        if (editDesc)  {
            fieldDesc.val(data.desc || '');
            fieldDesc.removeAttr('disabled');
        } else {
            fieldDesc.empty();
            fieldDesc.html(data.desc || '');
        }
    });*/
}